import http from '../request.js'
import generateConfig from '../config.js'
let generateUrl = generateConfig.generateUrl

// 获取综合档案信息
let getGenerateInfo = (url, params) => {
    return http.req(
        'get',
        url = generateUrl+'/synth/flight/getGenerateInfo',
        params,
        null
    )
}

// 获取His信息
let getHisInfo = (url, params) => {
    return http.req(
        'get',
        url = generateUrl+'/synth/flight/getHisInfo',
        params,
        null
    )
}

// 获取Lis信息
let getLisInfo = (url, params) => {
    return http.req(
        'get',
        url = generateUrl+'/synth/flight/getLisInfo',
        params,
        null
    )
}

// 获取医嘱信息
let getReceipeInfo = (url, params) => {
    return http.req(
        'get',
        url = generateUrl+'/synth/flight/getReceipeInfo',
        params,
        null
    )
}

export default {
    getGenerateInfo,
    getHisInfo,
    getLisInfo,
    getReceipeInfo,
}